# 练习 4：编写一个函数，接受姓名和任意数量的关键字参数，打印个人信息
def display_person_info(name, **info):
    """显示个人信息"""
    print(f"Name: {name}")
    for key, value in info.items():
        print(f"{key}: {value}")


# 调用函数
display_person_info("John Doe", age=25, city="New York", job="Engineer")
